package com.zhengke.pojo.archie;

/**
 * @author 黄保富
 * @date 2020年1月15日  
 * @version 1.0.0 
 * a 查询订单号对应的商品实体类
 */
public class GoodsDetail {
	
	private String record_id;//订单商品索引id
	
	private String order_id;//订单id
	
	private String goods_id;//商品id
	
	private String goods_name;//商品名称
	
	private String specifications;//商品规格
	
	private String goods_price;//商品价格
	
	private String goods_num;//商品数量
	
	private String goods_time;//商品购买时间
	
	private String service_point_id;//所属服务点
	
	private String integral_rate;//积分购买比例
	
	private String goods_image;//商品图片
	
	private String goods_pay_price;//商品实际成交价
	
	private String user_id;//买家id
	
	private String goods_type;//商品状态（0:正品;1:打折;2:体验;3:积分兑换;4:用来打包;5:打包品7:可兑换打包品)
	
	private String is_return;//是否可以退货(0：否，1：是)
	
	private String is_delivery;//是否已发货(0：否，1：是)
	
	private String return_cost;//退货费用(对应配置管理的退货id)
	
	private String state;//状态(0：取消，1：确认,2:退货)
	
	public GoodsDetail() {
		
	}

	public GoodsDetail(String record_id, String order_id, String goods_id, String goods_name, String specifications,
			String goods_price, String goods_num, String goods_time, String service_point_id, String integral_rate,
			String goods_image, String goods_pay_price, String user_id, String goods_type, String is_return,
			String is_delivery, String return_cost, String state) {
		super();
		this.record_id = record_id;
		this.order_id = order_id;
		this.goods_id = goods_id;
		this.goods_name = goods_name;
		this.specifications = specifications;
		this.goods_price = goods_price;
		this.goods_num = goods_num;
		this.goods_time = goods_time;
		this.service_point_id = service_point_id;
		this.integral_rate = integral_rate;
		this.goods_image = goods_image;
		this.goods_pay_price = goods_pay_price;
		this.user_id = user_id;
		this.goods_type = goods_type;
		this.is_return = is_return;
		this.is_delivery = is_delivery;
		this.return_cost = return_cost;
		this.state = state;
	}

	public String getRecord_id() {
		return record_id;
	}

	public void setRecord_id(String record_id) {
		this.record_id = record_id;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getGoods_id() {
		return goods_id;
	}

	public void setGoods_id(String goods_id) {
		this.goods_id = goods_id;
	}

	public String getGoods_name() {
		return goods_name;
	}

	public void setGoods_name(String goods_name) {
		this.goods_name = goods_name;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public String getGoods_price() {
		return goods_price;
	}

	public void setGoods_price(String goods_price) {
		this.goods_price = goods_price;
	}

	public String getGoods_num() {
		return goods_num;
	}

	public void setGoods_num(String goods_num) {
		this.goods_num = goods_num;
	}

	public String getGoods_time() {
		return goods_time;
	}

	public void setGoods_time(String goods_time) {
		this.goods_time = goods_time;
	}

	public String getService_point_id() {
		return service_point_id;
	}

	public void setService_point_id(String service_point_id) {
		this.service_point_id = service_point_id;
	}

	public String getIntegral_rate() {
		return integral_rate;
	}

	public void setIntegral_rate(String integral_rate) {
		this.integral_rate = integral_rate;
	}

	public String getGoods_image() {
		return goods_image;
	}

	public void setGoods_image(String goods_image) {
		this.goods_image = goods_image;
	}

	public String getGoods_pay_price() {
		return goods_pay_price;
	}

	public void setGoods_pay_price(String goods_pay_price) {
		this.goods_pay_price = goods_pay_price;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getGoods_type() {
		return goods_type;
	}

	public void setGoods_type(String goods_type) {
		this.goods_type = goods_type;
	}

	public String getIs_return() {
		return is_return;
	}

	public void setIs_return(String is_return) {
		this.is_return = is_return;
	}

	public String getIs_delivery() {
		return is_delivery;
	}

	public void setIs_delivery(String is_delivery) {
		this.is_delivery = is_delivery;
	}

	public String getReturn_cost() {
		return return_cost;
	}

	public void setReturn_cost(String return_cost) {
		this.return_cost = return_cost;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "GoodsDetail====>record_id=" + record_id + ", order_id=" + order_id + ", goods_id=" + goods_id
				+ ", goods_name=" + goods_name + ", specifications=" + specifications + ", goods_price=" + goods_price
				+ ", goods_num=" + goods_num + ", goods_time=" + goods_time + ", service_point_id=" + service_point_id
				+ ", integral_rate=" + integral_rate + ", goods_image=" + goods_image + ", goods_pay_price="
				+ goods_pay_price + ", user_id=" + user_id + ", goods_type=" + goods_type + ", is_return=" + is_return
				+ ", is_delivery=" + is_delivery + ", return_cost=" + return_cost + ", state=" + state + "<====";
	}
}
